package org.dromara.administration.domain.vo;

import java.util.Date;

import org.dromara.administration.domain.AdmSeal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

import java.io.Serial;
import java.io.Serializable;


/**
 * 公章管理视图对象 qyx_admin_seal
 *
 * @author LUSH
 * @date 2025-05-20
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = AdmSeal.class)
public class AdmSealVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 申请用户的ID
     */
    private Long applyId;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    private String number;

    /**
     * 申请部门
     */
    @Translation(type = TransConstant.DEPT_ID_TO_NAME)
    @ExcelProperty(value = "申请部门")
    private Long deptId;

    /**
     * 使用日期
     */
    @ExcelProperty(value = "使用日期")
    private Date useDate;

    /**
     * 使用类型
     */
    @ExcelProperty(value = "使用类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "seal_use_type")
    private String useType;

    /**
     * 印章类型
     */
    @ExcelProperty(value = "印章类型")
    private String sealType;

    /**
     * 审批状态
     */
    @ExcelProperty(value = "审批状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "seal_status")
    private String status;

    /**
     * 创造时间
     */
    @ExcelProperty(value = "创造时间")
    private Date createTime;

}
